#pragma once

struct Particle
{
	sf::Vector2f velocity;
	sf::Vector2f position;
	float life;
	float rotation;
	float rotation_speed;
};

class SimpleParticle
{
private:
	sf::Sprite sprite;
	std::vector<Particle> particles;
public:
	void load(int count, sf::Image &img, sf::Vector2f pos);
	void draw();
	bool step();
};